package com.yiguo.gmall_pulisher.mapper;
import com.yiguo.gmall_pulisher.beans.DAUData;
import com.yiguo.gmall_pulisher.beans.GMVDate;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface PublisherMapper {
    //todo DAU需求
    //"新增日活","value":1200},
    Integer getDAUbyDate(String date);
    //新增设备
    Integer getnewMidIdCountByDate (String date);
    //{"yesterday":{"11":383,"12":123,"17":88,"19":200 },   "11":383封装为beans
    List<DAUData> getToDayDate(String date);

    //todo GVM需求
    //查询每天的总交易额
    Double getGMVbyDate(String date);
    //查询分时交易额
    List<GMVDate> getGMVdatasBydate(String date);

}
